﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ComponentModel;

namespace ProyectoBizarro.Dominio
{
    [DataContract]
    public class Producto
    {
        [DataMember]
        public int Codigo { get; set; }
        [DataMember]
        public DateTime Creacion { get; set; }
        [DataMember]
        public Usuario Usuario { get; set; }
        [DataMember]
        public int Estado { get; set; }
        [DataMember]
        public string EAN { get; set; }
        [DataMember]
        public string Denominacion { get; set; }
        [DataMember]
        public Marca Marca { get; set; }
        [DataMember]
        public string Medida { get; set; }
        [DataMember]
        public string Descripcion { get; set; }
        [DataMember]
        public TipoProducto Tipo { get; set; }
    }
}